package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * Created by renzhikun on 18-6-27.
 */
@TableName("base_maintenance")
public class BaseMaintenance extends CommonVo implements Serializable {

    private static final long serialVersionUID = 1517087679843518643L;
    /**
     * 维修保养ID
     */
    @TableId(value = "maintenance_id", type = IdType.AUTO)
    private Long maintenanceId;
    /** 车辆ID */
    @TableField("car_id")
    private Long carId;
    /** 登记网点 */
    @TableField("site_id")
    private Long siteId;
    /** 类别 */
    @TableField("type_id")
    private Long typeId;
    /** 修理单位 */
    @TableField("repair_unit")
    private String repairUnit;
    /** 登记日期 */
    @TableField("register_time")
    private String registerTime;
    /** 取车日期 */
    @TableField("extraction_time")
    private String extractionTime;
    /** 里程 */
    @TableField("mileage")
    private double mileage;
    /** 金额 */
    @TableField("amount")
    private double amount;

    private String status;

    private String siteName;

    private String carNo;

    private String createByName;

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getMaintenanceId() {
        return maintenanceId;
    }

    public void setMaintenanceId(Long maintenanceId) {
        this.maintenanceId = maintenanceId;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public Long getTypeId() {
        return typeId;
    }

    public void setTypeId(Long typeId) {
        this.typeId = typeId;
    }

    public String getRepairUnit() {
        return repairUnit;
    }

    public void setRepairUnit(String repairUnit) {
        this.repairUnit = repairUnit;
    }

    public String getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    public String getExtractionTime() {
        return extractionTime;
    }

    public void setExtractionTime(String extractionTime) {
        this.extractionTime = extractionTime;
    }

    public double getMileage() {
        return mileage;
    }

    public void setMileage(double mileage) {
        this.mileage = mileage;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getCreateByName() {
        return createByName;
    }

    public void setCreateByName(String createByName) {
        this.createByName = createByName;
    }
}
